$(document).ready(function() {
    
//    显示全部评论开关 item - show 页面的
    $(".swith_review a").each(function(){
        $(this).click(function(){
            var id = $(this).attr("id");
            if(id.indexOf("on") == 0){
                $('#'+id.replace("on","off")).show();
                $('#'+id.replace("on","review_short")).hide();
                $('#'+id.replace("on","review_long")).show();
            }
            else
            {
                $('#'+id.replace("off","on")).show();
                $('#'+id.replace("off","review_short")).show();
                $('#'+id.replace("off","review_long")).hide();
            };
            $(this).hide();
        })
    });

});
